package org.jetlinks.community.device.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author LiHongHui
 * @Date 2021/10/19 17:33
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PresetView {

    /**
     * 摄像头id
     */
    private String cameraIndexCode;

    /**
     * 预置点序号
     */
    @NotNull
    private Integer presetPointIndex;

    /**
     * 预置点名称
     */
    @NotBlank
    private String presetPointName;
}
